def clean_html_tags( text ):
    """ Convert line terminators and html entities """
    try:
        text = text.replace( "\t", "" )
        text = text.replace( "<p>", "" )
        text = text.replace( "</p>", "\n" )
        text = text.replace( "<b>", "[B]" )
        text = text.replace( "</b>", "[/B]" )
        text = text.replace( "<i>", "[I]" )
        text = text.replace( "</i>", "[/I]" )
        text = text.replace( "&#8217;", "'" )
        text = text.replace( "&#8220;", "\"" )
        text = text.replace( "&#8221;", "\"" )
        text = text.replace( "&#160;", "" )
        text = text.replace( "<em>", "" )
        text = text.replace( "</em>", "" )
        text = text.replace( "<strong>", "" )
        text = text.replace( "</strong>", "" )
        text = text.replace( "\t", "" )
        text = text.replace( "<br> ", "\n" )
        text = text.replace( "<br>", "\n" )
        text = text.replace( "<br /> ", "\n" )
        text = text.replace( "<br />", "\n" )
        text = text.replace( "<div>", "\n" )
        text = text.replace( "> ", "\n" )
        text = text.replace( ">", "\n" )
        text = text.replace( "&amp;", "&" )
        text = text.replace( "&gt;", ">" )
        text = text.replace( "&lt;", "<" )
        text = text.replace( "&quot;", '"' )
        text = text.replace( "&iacute;", 'i' )
    except: 
        pass
    return text